using System.ComponentModel.DataAnnotations;

namespace UserManagementService.DTOs;

/// <summary>
/// 移动组织DTO
/// </summary>
public class MoveOrganizationDto
{
    /// <summary>
    /// 组织ID
    /// </summary>
    [Required]
    public Guid OrganizationId { get; set; }

    /// <summary>
    /// 新的父组织ID
    /// </summary>
    public Guid? NewParentId { get; set; }

    /// <summary>
    /// 新的排序位置
    /// </summary>
    public int? NewSort { get; set; }

    /// <summary>
    /// 是否同时移动子组织
    /// </summary>
    public bool MoveChildren { get; set; } = true;

    /// <summary>
    /// 备注
    /// </summary>
    public string Remarks { get; set; }
}